<template>
	<!-- 销售漏斗 -->
	<div class="page">
		<!-- search -->
		<div class=""
			style="display: flex;flex-direction: row;align-items: center;padding: 12px;background-color: #FFFFFF;justify-content: space-between;">
			<div class="" @click="popBack()">
				<div class="iconfont icon-arrow-left" style="font-size: 16px;font-weight: bold;"></div>
				<div style="font-size: 16px;">销售漏斗</div>
			</div>
			<div
				style="
				display: flex;
				flex-direction: row;
				align-items: center;
				border-style: solid;border-width: 1px;border-color: #999999;padding:5px 12px;background-color: #FFFFFF;border-radius: 4px;">
				<div style="font-size: 14px;color: #333333;display: block;">近一个月</div>
				<div style="font-size: 20px;color: #333333;display: block;margin-left: 12px;"
					class="iconfont icon-rili"></div>
			</div>
		</div>

		<!-- line -->
		<div style="height: 1px;background-color: #F1F1F1;" />


		<div style="flex: 1;background-color: #FFFFFF;overflow-y: auto;">
			<!-- echarts -->
			<div style="height: 422px;">
				<iframe src="https://echarts.apache.org/examples/zh/editor.html?c=funnel-customize" frameborder="0"
					style="height: 100%;width: 100%;"></iframe>
			</div>
			<!-- list -->
			<!-- header -->
			<div
				style="display: flex;background-color: #f5f5f5;height: 45px;justify-content: center;align-items: center;">
				<div style="display: block;text-align: center;font-size: 14px;flex: 1;">阶段</div>
				<div style="display: block;text-align: center;font-size: 14px;flex: 1;">人数</div>
				<div style="display: block;text-align: center;font-size: 14px;flex: 1;">转化率</div>
			</div>
			<!-- cell -->
			<div style="display: flex;flex-direction: column;" v-for="idx in 8">
				<div
					style="display: flex;background-color: #FFFFFF;height: 45px;justify-content: center;align-items: center;flex: 1;">
					<div style="display: block;text-align: center;font-size: 14px;flex: 1;">客户</div>
					<div style="display: block;text-align: center;font-size: 14px;flex: 1;">2500</div>
					<div style="display: block;text-align: center;font-size: 14px;flex: 1;">75%</div>
				</div>
				<div style="height: 1px;background-color: #F1F1F1;" />
			</div>

		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			popBack() {
				this.$router.back({

				})
			}
		}
	}
</script>

<style scoped>
	.page {
		background-color: #f5f5f5;
		flex: 1;
		display: flex;
		flex-direction: column;
	}
</style>
